import { HTTP } from "../utils/http.js";

export class Bigwheel extends HTTP{
    
    index({id, hash, share_from}) {
        return this.request({
            url: 'bigwheel/index',
            data: {
                activity_id: id,
                hash,
                share_from
            }
        })
    } 

    award({id, ids, loading}){
        return this.request({
            url: 'bigwheel/award',
            method: 'POST',
            data: { id, ids, loading }
        })
    }

    mobile(data) {
        return this.request({
            url: 'user/mobile',
            data
        })
    }

}